package com.homework.HomeAcount.dao;

import java.util.List;
import java.util.Map;

import com.homework.HomeAcount.entity.Acount;
/**
 * 我的账单DAO类
 * Project Name:HomeAcount 
 * @author gk
 * TODO
 * Date:2015年12月3日下午2:00:57 
 * Copyright (c) 2015, gkaigk@126.com All Rights Reserved. 
 * @Version 1.0
 */
public interface AcountDao {
	
	/**
	 * 
	 * @param map
	 * @return
	 */
	public List<Map<String, Object>> loadAcountList(Map<String, Object> map);	
	
	/**
	 * 
	 * @return
	 */
	public int getListSize(Map<String, Object> paramMap);
	
	/**
	 * 
	 * @param map
	 * @return
	 */
	public List<Map<String, Object>> getAcountTypeList(Map<String, Object> map);
	
	/**
	 * 
	 * @return
	 */
	public List<Map<String, Object>> getAcountForwhoList();
	
	/**
	 * 
	 * @param id
	 * @return
	 */
	public Acount loadAcountById(String id);
	
	/**
	 * 账单更新
	 * @param acount
	 */
	public void updateAcountById(Acount acount);
	
	/**
	 * 账单新增
	 * @param acount
	 */
	public void addAcount(Acount acount);
	
	/**
	 * 根据主键删除账单信息
	 * @param id
	 */
	public void deleteAcountById(String id);
}
